package com.whz.governance.promethus;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author whz
 */
@Data
@ConfigurationProperties(prefix = PushGatewayProperties.PRFIX)
public class PushGatewayProperties {
    public static final String PRFIX = "generic.prometheus.pushgateway";

    private boolean enable;
    /**
     * ip:port
     */
    private String address;
    /**
     * push gateway server username
     */
    private String userName;
    /**
     * push gateway server password
     */
    private String password;
}